package com.amsp.oa.oademo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDate;
import java.util.List;

@Data
@ApiModel(value = "SafetyTrainingCardVO", description = "三级安全教育培训卡VO")
public class SafetyTrainingCardVO {
    
    @ApiModelProperty("主键ID")
    private Long id;
    
    @ApiModelProperty("姓名")
    private String name;
    
    @ApiModelProperty("班组")
    private String team;
    
    @ApiModelProperty("身份证号码")
    private String idCard;
    
    @ApiModelProperty("工种")
    private String jobType;
    
    @ApiModelProperty("入职日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate entryDate;
    
    @ApiModelProperty("建卡日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate cardCreateDate;
    
    @ApiModelProperty("入职教育")
    private SafetyTrainingEducationVO education1;
    
    @ApiModelProperty("车间教育")
    private SafetyTrainingEducationVO education2;
    
    @ApiModelProperty("班组教育")
    private SafetyTrainingEducationVO education3;
} 